import ReactDom from 'react-dom'

const root = ReactDom.createRoot(document.querySelector('#root'));

const num = 10;

const tpl = (
  <div>
    <h2>你好世界</h2>
    <div className="box"></div>
    <label htmlFor=""></label>
    <h3>{num}</h3>
    {/* 这是jsx中的注释 */}
  </div>
)
root.render(tpl);